Hi
In the continuation of
the discussion. I slightly disagree with the fact that the
STOP button is not an emergency button. After
clicking on it, it turns off all axes and stops all
threads of the program(excluding thread one). After this operation, you need a complete
reinitialization of the system (home position, etc.).
I think, it's not a logical that executing the same
program with the same options(execute/wait/sync)
blocks the form in different ways. If the program is started using a user
button, the form is completely blocked. If the program
is started through the MDI, the stop pause and halt
buttons remain active. In order to verify this, it is
enough to run the simplest program
main()
{ for (;;)
}
Also,
if the program is launched through a user button,
KMotionCNC stops responding to any command from the
internal program like DoPC() and etc. This, I
think, is also not very good.
At the same time, I absolutely agree
with you that the emergency button should lock the
driver hardware, disconnect the power supply, and so
on.
Best reagards,
Alexander Kovylkin.